package com.sbl.bajw.pc.action;

import javax.annotation.Resource;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

import com.sbl.bajw.pc.service.OperationLogModelService;

@Controller
@RequestMapping("/OperationLog")
public class OperationLogModelAction {

	@Resource
	private OperationLogModelService service;
	
	@RequestMapping(value = "/getOperationLogList")
	public @ResponseBody String getOperationLogList(HttpServletRequest request, HttpServletResponse response){
		String json = service.getOperationLogList();
		return json;
	}
}
